package com.happycat.mobile.model;
 
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * Module: UserCircleMapping.java
 *
 * @author liaoyong
 * @since JDK 1.8
 * @version 1.0
 * @date 2020-07-30
 * @Descriptions:
 */
@Data
@TableName(value = "user_circle_mapping")
@ApiModel
public class UserCircleMapping  {
	
	

	@TableId(value = "id", type = IdType.INPUT)
	@ApiModelProperty(value="")
	private Long id;
	
	
	@ApiModelProperty(value="圈子id")
	@TableField("circle_id")
	private Long circleId;
	
	
	@ApiModelProperty(value="账号id")
	@TableField("account_id")
	private Long accountId;
	
	
	@ApiModelProperty(value="用户在圈内等级")
	@TableField("level")
	private Integer level;
	
	
	@ApiModelProperty(value="标签")
	@TableField("lable")
	private String lable;
	
	
	@ApiModelProperty(value="创建时间",example = "2020-01-01T12:18:48")
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@TableField("create_time")
	private Date createTime;
	
	@TableField(exist = false)
	@ApiModelProperty(value="用户信息")
	private UserAccount userAccount;
	
	@TableField(exist = false)
	@ApiModelProperty(value="用户圈子信息")
	private CatCircle catCircle;
	
}